home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: miker3@ix.netcom.com (Mike Rubenstein)
- Newsgroups: comp.lang.c
- Subject: Re: Binary Tree and MSC/C++7.00
- Date: Tue, 09 Jan 1996 00:07:13 GMT
- Organization: Netcom
- Message-ID: <30f1aa73.248537088@nntp.ix.netcom.com>
- References: <HAKOLA.96Jan7002825@lk-hp-16.hut.fi> <1s+9WFAWzT8wEwN7@harden.demon.co.uk>
- NNTP-Posting-Host: ix-dc18-21.ix.netcom.com
- X-NETCOM-Date: Mon Jan 08 4:06:34 PM PST 1996
- X-Newsreader: Forte Agent .99c/16.141
-
- Mark Harden <mark@harden.demon.co.uk> wrote:
-
- |>strncat doesn't always append a '\0' character. Do it yourself with
- |>string [45] = '\0' and read up on strncat.
-
- From ISO 7.11.3.2:
-
- The strncat function appends not more than n characters (a
- null character and characters that follow it are not appended)
-
- from the array pointed to by s2 to the end of the string
- pointed to by s1. The initial charcter of s2 overwrites the
- null character at the end of s1. A terminating null character
-
- is always appended to the result.
-
-
- Michael M Rubenstein
-